package com.dwaynema.entity;

import java.util.Date;

public class Comment {
    private Long id;

    private Long pid;

    private Long articleId;

    private Long visitorId;

    private Long userId;

    private Byte status;

    private Date createTime;

    private String browser;

    private String os;

    private String address;

    private String requestIp;

    private String parentNickname;

    private String content;

    public Comment(Long id, Long pid, Long articleId, Long visitorId, Long userId, Byte status, Date createTime, String browser, String os, String address, String requestIp, String parentNickname) {
        this.id = id;
        this.pid = pid;
        this.articleId = articleId;
        this.visitorId = visitorId;
        this.userId = userId;
        this.status = status;
        this.createTime = createTime;
        this.browser = browser;
        this.os = os;
        this.address = address;
        this.requestIp = requestIp;
        this.parentNickname = parentNickname;
    }

    public Comment(Long id, Long pid, Long articleId, Long visitorId, Long userId, Byte status, Date createTime, String browser, String os, String address, String requestIp, String parentNickname, String content) {
        this.id = id;
        this.pid = pid;
        this.articleId = articleId;
        this.visitorId = visitorId;
        this.userId = userId;
        this.status = status;
        this.createTime = createTime;
        this.browser = browser;
        this.os = os;
        this.address = address;
        this.requestIp = requestIp;
        this.parentNickname = parentNickname;
        this.content = content;
    }

    public Comment() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    public Long getVisitorId() {
        return visitorId;
    }

    public void setVisitorId(Long visitorId) {
        this.visitorId = visitorId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getBrowser() {
        return browser;
    }

    public void setBrowser(String browser) {
        this.browser = browser == null ? null : browser.trim();
    }

    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os == null ? null : os.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getRequestIp() {
        return requestIp;
    }

    public void setRequestIp(String requestIp) {
        this.requestIp = requestIp == null ? null : requestIp.trim();
    }

    public String getParentNickname() {
        return parentNickname;
    }

    public void setParentNickname(String parentNickname) {
        this.parentNickname = parentNickname == null ? null : parentNickname.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}